<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: Aws::Crt::StlAllocator&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAws.html">Aws</a></li><li class="navelem"><a class="el" href="namespaceAws_1_1Crt.html">Crt</a></li><li class="navelem"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classAws_1_1Crt_1_1StlAllocator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Aws::Crt::StlAllocator&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="StlAllocator_8h_source.html">StlAllocator.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Aws::Crt::StlAllocator&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classAws_1_1Crt_1_1StlAllocator.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAws_1_1Crt_1_1StlAllocator_1_1rebind.html">rebind</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ad7e471cb2839c664bb211d0057cd543a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#ad7e471cb2839c664bb211d0057cd543a">Base</a> = std::allocator&lt; T &gt;</td></tr>
<tr class="separator:ad7e471cb2839c664bb211d0057cd543a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2791ff1e4ee66eadf9b9e78714de824d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a> = std::size_t</td></tr>
<tr class="separator:a2791ff1e4ee66eadf9b9e78714de824d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7a33fce7a208df119287657f3555f261"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a7a33fce7a208df119287657f3555f261">StlAllocator</a> () noexcept</td></tr>
<tr class="separator:a7a33fce7a208df119287657f3555f261"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4744bfdb69fa6c0514fd8425a9cea7f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a4744bfdb69fa6c0514fd8425a9cea7f3">StlAllocator</a> (<a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator) noexcept</td></tr>
<tr class="separator:a4744bfdb69fa6c0514fd8425a9cea7f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1d130f0891abd502d3c43c8b326366c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#ae1d130f0891abd502d3c43c8b326366c">StlAllocator</a> (const <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a>&lt; T &gt; &amp;<a class="el" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) noexcept</td></tr>
<tr class="separator:ae1d130f0891abd502d3c43c8b326366c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab13b3c5a2a89fdc649346876c1570153"><td class="memTemplParams" colspan="2">template&lt;class U &gt; </td></tr>
<tr class="memitem:ab13b3c5a2a89fdc649346876c1570153"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#ab13b3c5a2a89fdc649346876c1570153">StlAllocator</a> (const <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a>&lt; U &gt; &amp;<a class="el" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) noexcept</td></tr>
<tr class="separator:ab13b3c5a2a89fdc649346876c1570153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb81e21dc53ebebe6a5a8d6cb447fdcd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#acb81e21dc53ebebe6a5a8d6cb447fdcd">~StlAllocator</a> ()</td></tr>
<tr class="separator:acb81e21dc53ebebe6a5a8d6cb447fdcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96283fd9716235e0726f81023426bbef"><td class="memItemLeft" align="right" valign="top">Base::pointer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a96283fd9716235e0726f81023426bbef">allocate</a> (<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a> <a class="el" href="namespaceAws.html#a56a46d10ee9f89f5ff63ceb62ec27991">n</a>, const void *hint=nullptr)</td></tr>
<tr class="separator:a96283fd9716235e0726f81023426bbef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a625ca536a124639d1df223428ea8d32f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a625ca536a124639d1df223428ea8d32f">deallocate</a> (typename Base::pointer <a class="el" href="namespaceAws.html#a704cef6a112538ac7afcf5098d6d248f">p</a>, <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a>)</td></tr>
<tr class="separator:a625ca536a124639d1df223428ea8d32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a300fc6267ca73db38028df6a2983793a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a300fc6267ca73db38028df6a2983793a">m_allocator</a></td></tr>
<tr class="separator:a300fc6267ca73db38028df6a2983793a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ad7e471cb2839c664bb211d0057cd543a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7e471cb2839c664bb211d0057cd543a">&#9670;&nbsp;</a></span>Base</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#ad7e471cb2839c664bb211d0057cd543a">Base</a> =  std::allocator&lt;T&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2791ff1e4ee66eadf9b9e78714de824d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2791ff1e4ee66eadf9b9e78714de824d">&#9670;&nbsp;</a></span>size_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a> =  std::size_t</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7a33fce7a208df119287657f3555f261"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a33fce7a208df119287657f3555f261">&#9670;&nbsp;</a></span>StlAllocator() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4744bfdb69fa6c0514fd8425a9cea7f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4744bfdb69fa6c0514fd8425a9cea7f3">&#9670;&nbsp;</a></span>StlAllocator() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *&#160;</td>
          <td class="paramname"><em>allocator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae1d130f0891abd502d3c43c8b326366c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1d130f0891abd502d3c43c8b326366c">&#9670;&nbsp;</a></span>StlAllocator() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab13b3c5a2a89fdc649346876c1570153"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab13b3c5a2a89fdc649346876c1570153">&#9670;&nbsp;</a></span>StlAllocator() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<div class="memtemplate">
template&lt;class U &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a>&lt; U &gt; &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acb81e21dc53ebebe6a5a8d6cb447fdcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb81e21dc53ebebe6a5a8d6cb447fdcd">&#9670;&nbsp;</a></span>~StlAllocator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::~<a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">StlAllocator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a96283fd9716235e0726f81023426bbef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96283fd9716235e0726f81023426bbef">&#9670;&nbsp;</a></span>allocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Base::pointer <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::allocate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a>&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>hint</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a625ca536a124639d1df223428ea8d32f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a625ca536a124639d1df223428ea8d32f">&#9670;&nbsp;</a></span>deallocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::deallocate </td>
          <td>(</td>
          <td class="paramtype">typename Base::pointer&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classAws_1_1Crt_1_1StlAllocator.html#a2791ff1e4ee66eadf9b9e78714de824d">size_type</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a300fc6267ca73db38028df6a2983793a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a300fc6267ca73db38028df6a2983793a">&#9670;&nbsp;</a></span>m_allocator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a>* <a class="el" href="classAws_1_1Crt_1_1StlAllocator.html">Aws::Crt::StlAllocator</a>&lt; T &gt;::m_allocator</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/<a class="el" href="StlAllocator_8h_source.html">StlAllocator.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
